<template>
<div>
  <h2>注册页面</h2>
  用户名：<input type="text" v-model="uName">
  密码： <input type="password">
  <input type="button" @click="zhuce()" value="注册c">
</div>
</template>

<script>
export default {
  name: 'Register',
  data () {
    return {
      uName: ''
    }
  },
  methods: {
    zhuce () {
      alert('注册成功' + this.uName)
    }
  }
}
</script>

<style scoped>

</style>
